package com.hongxun.greenentity.tk;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;


/**
 * 点位设备购置信息表
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-28 11:12:43
 */
@Entity
public class DDeviceBuyEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	@Id
	private String guid;
	//所属项目ID
	private String pGuid;
	//所属点位ID
	private String pPGuid;
	//设备标签
	private String dLabel;
	//关联设备信息库ID
	private String dDGuid;
	//设备大类
	private String dBBigtype;
	//设备中类
	private String dBMidtype;
	//设备名称
	private String dBName;
	//主要参数
	private String dBParameter;
	//电压等级   数据字典 voltage_type(10kV,380V,220V)
	private String dBVoltage;
	//单重（kg）
	private Double dBWeight;
	//单价（元）
	private Double dBPrice;
	//购置单位
	private String dBUnit;
	//数量
	private Integer dBCount;
	//合重（kg）
	private Double dBWeightall;
	//合价（元）
	private Double dBPriceall;
	//数据状态
	private String dBDatastate;




	@Generated(hash = 1427115835)
	public DDeviceBuyEntity(String guid, String pGuid, String pPGuid, String dLabel,
			String dDGuid, String dBBigtype, String dBMidtype, String dBName,
			String dBParameter, String dBVoltage, Double dBWeight, Double dBPrice,
			String dBUnit, Integer dBCount, Double dBWeightall, Double dBPriceall,
			String dBDatastate) {
		this.guid = guid;
		this.pGuid = pGuid;
		this.pPGuid = pPGuid;
		this.dLabel = dLabel;
		this.dDGuid = dDGuid;
		this.dBBigtype = dBBigtype;
		this.dBMidtype = dBMidtype;
		this.dBName = dBName;
		this.dBParameter = dBParameter;
		this.dBVoltage = dBVoltage;
		this.dBWeight = dBWeight;
		this.dBPrice = dBPrice;
		this.dBUnit = dBUnit;
		this.dBCount = dBCount;
		this.dBWeightall = dBWeightall;
		this.dBPriceall = dBPriceall;
		this.dBDatastate = dBDatastate;
	}
	@Generated(hash = 1853243183)
	public DDeviceBuyEntity() {
	}




	/**
	 * 设置：主键
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：主键
	 */
	public String getGuid() {
		return guid;
	}
	/**
	 * 设置：所属项目ID
	 */
	public void setPGuid(String pGuid) {
		this.pGuid = pGuid;
	}
	/**
	 * 获取：所属项目ID
	 */
	public String getPGuid() {
		return pGuid;
	}
	/**
	 * 设置：所属点位ID
	 */
	public void setPPGuid(String pPGuid) {
		this.pPGuid = pPGuid;
	}
	/**
	 * 获取：所属点位ID
	 */
	public String getPPGuid() {
		return pPGuid;
	}
	/**
	 * 设置：关联设备信息库ID
	 */
	public void setDDGuid(String dDGuid) {
		this.dDGuid = dDGuid;
	}
	/**
	 * 获取：关联设备信息库ID
	 */
	public String getDDGuid() {
		return dDGuid;
	}
	/**
	 * 设置：设备大类
	 */
	public void setDBBigtype(String dBBigtype) {
		this.dBBigtype = dBBigtype;
	}
	/**
	 * 获取：设备大类
	 */
	public String getDBBigtype() {
		return dBBigtype;
	}
	/**
	 * 设置：设备中类
	 */
	public void setDBMidtype(String dBMidtype) {
		this.dBMidtype = dBMidtype;
	}
	/**
	 * 获取：设备中类
	 */
	public String getDBMidtype() {
		return dBMidtype;
	}
	/**
	 * 设置：设备名称
	 */
	public void setDBName(String dBName) {
		this.dBName = dBName;
	}
	/**
	 * 获取：设备名称
	 */
	public String getDBName() {
		return dBName;
	}
	/**
	 * 设置：主要参数
	 */
	public void setDBParameter(String dBParameter) {
		this.dBParameter = dBParameter;
	}
	/**
	 * 获取：主要参数
	 */
	public String getDBParameter() {
		return dBParameter;
	}
	/**
	 * 设置：电压等级   数据字典 voltage_type(10kV,380V,220V)
	 */
	public void setDBVoltage(String dBVoltage) {
		this.dBVoltage = dBVoltage;
	}
	/**
	 * 获取：电压等级   数据字典 voltage_type(10kV,380V,220V)
	 */
	public String getDBVoltage() {
		return dBVoltage;
	}
	/**
	 * 设置：单重（kg）
	 */
	public void setDBWeight(Double dBWeight) {
		this.dBWeight = dBWeight;
	}
	/**
	 * 获取：单重（kg）
	 */
	public Double getDBWeight() {
		return dBWeight;
	}
	/**
	 * 设置：单价（元）
	 */
	public void setDBPrice(Double dBPrice) {
		this.dBPrice = dBPrice;
	}
	/**
	 * 获取：单价（元）
	 */
	public Double getDBPrice() {
		return dBPrice;
	}
	/**
	 * 设置：购置单位
	 */
	public void setDBUnit(String dBUnit) {
		this.dBUnit = dBUnit;
	}
	/**
	 * 获取：购置单位
	 */
	public String getDBUnit() {
		return dBUnit;
	}
	/**
	 * 设置：数量
	 */
	public void setDBCount(Integer dBCount) {
		this.dBCount = dBCount;
	}
	/**
	 * 获取：数量
	 */
	public Integer getDBCount() {
		return dBCount;
	}
	/**
	 * 设置：合重（kg）
	 */
	public void setDBWeightall(Double dBWeightall) {
		this.dBWeightall = dBWeightall;
	}
	/**
	 * 获取：合重（kg）
	 */
	public Double getDBWeightall() {
		return dBWeightall;
	}
	/**
	 * 设置：合价（元）
	 */
	public void setDBPriceall(Double dBPriceall) {
		this.dBPriceall = dBPriceall;
	}
	/**
	 * 获取：合价（元）
	 */
	public Double getDBPriceall() {
		return dBPriceall;
	}
	/**
	 * 设置：数据状态
	 */
	public void setDBDatastate(String dBDatastate) {
		this.dBDatastate = dBDatastate;
	}
	/**
	 * 获取：数据状态
	 */
	public String getDBDatastate() {
		return dBDatastate;
	}
	public String getDLabel() {
		return this.dLabel;
	}
	public void setDLabel(String dLabel) {
		this.dLabel = dLabel;
	}
}
